//
//  Match.h
//  AOEProject
//
//  Created by techplus on 9/20/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Match : NSObject
{
    NSInteger *TAG_CATALOG_INDEX;
    NSInteger *TAG_CATALOG_ELEMENT_INDEX;
    NSInteger *TAG_MATCH_INDEX;
    
    NSString *atrName;
    NSString *atrDate;
    NSString *atrType;
    
    NSMutableArray *games;
}
@property NSInteger *TAG_CATALOG_ELEMENT_INDEX;
@property NSInteger *TAG_CATALOG_INDEX;
@property NSInteger *TAG_MATCH_INDEX;

@property (retain,nonatomic) NSString *atrTitle;
@property (retain,nonatomic) NSString *atrDate;
@property (retain,nonatomic) NSString *atrType;
@property (retain,nonatomic) NSMutableArray *games;

//METHOD
-(id)initWithCatalogIndex:(NSInteger *)cIndex ceIndex:(NSInteger *)ceIndex matchIndex:(NSInteger *)mIndex;

-(void)getAtrs;

-(void)getGames;

@end
